<?php

/** @var \Illuminate\Database\Eloquent\Factory $factory */
use App\User;
use Illuminate\Support\Str;
use Faker\Generator as Faker;

/*
|--------------------------------------------------------------------------
| Model Factories
|--------------------------------------------------------------------------
|
| This directory should contain each of the model factory definitions for
| your application. Factories provide a convenient way to generate new
| model instances for testing / seeding your application's database.
|
*/


$factory->define(App\Models\CarModels\CarPreparation::class, function (Faker $faker) {
    return [
        'work_time' => $faker->numberBetween(1,10),
        'fill_time' => $faker->numberBetween(1,10),
        'area_id'=>$faker->numberBetween(1,4),
        'work_speed_low'=>$faker->numberBetween(1,5),
        'work_speed_high'=>$faker->numberBetween(5,10),
        'non_work_speed_low'=>$faker->numberBetween(1,5),
        'non_work_speed_high'=>$faker->numberBetween(5,10),
        'level_id'=>$faker->numberBetween(1,3),
        'kind_id'=>$faker->numberBetween(1,3),
    ];
});
